<?php


namespace app\common\service;

/**
 * 返回码定义,自定义的码请以2开头,比如2000
 * Class ConstService
 * @package app\common\service
 */
class ReturnCodeService
{
    const SUCCESS = 0;//成功
    const FAIL = 1;//失败,
    const ILLEGAL_REQUEST = 1001;//非法请求
    const ILLEGAL_PARAM = 1002;//非法参数
    const NO_DATA = 1003;//无数据
    const NO_LOGIN = 1004;//未登录
    const ERROR_SIGN = 1005;//签名错误
    const DISABLED = 2019;//签名错误

}